/**
 * 
 */
package cn.panda.edu.service.impl;

import cn.panda.edu.dao.VideoMapper;
import cn.panda.edu.model.Video;
import cn.panda.edu.service.VideoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**  
 * 类描述：  
 * @author: 苑庆涛 
 * @date： 2018-01-18 上午10:54:20  
 */
@Service
public class VideoServiceImpl implements VideoService {

	@Resource
	private VideoMapper videoMapper;
	@Override
	public int insertSelective(Video record) {
		// TODO Auto-generated method stub
		return videoMapper.insertSelective(record);
	}
	@Override
	public Video selectByPrimaryKey(Integer videoId) {
		return videoMapper.selectByPrimaryKey(videoId);
	}
	@Override
	public int updateByPrimaryKeySelective(Video record) {
		// TODO Auto-generated method stub
		return videoMapper.updateByPrimaryKeySelective(record);
	}

}
